﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class ChiTietBangDTO
    {
        public int MaChiTietBang { get; set; }
        public int MaLoaiBang { get; set; }
        public int MaKichCo { get; set; }
        public string DonViTinh { get; set; }
        public float GiaTienBang { get; set; }

        //Update
        public ChiTietBangDTO(int _Machitietbang, int _Maloaibang, int _Makichco , string _Donvitinh, float _Giatienbang)
        {
            MaChiTietBang = _Machitietbang;
            MaLoaiBang = _Maloaibang;
            MaKichCo = _Makichco;
            DonViTinh = _Donvitinh;
            GiaTienBang = _Giatienbang;
        }
        //Add
        public ChiTietBangDTO(int _Maloaibang, int _Makichco, string _Donvitinh, float _Giatienbang)
        {
            MaChiTietBang = _Maloaibang;
            MaLoaiBang = _Makichco;
            DonViTinh = _Donvitinh;
            GiaTienBang = _Giatienbang;
        }
        public ChiTietBangDTO(int _Maloaibang, int _Makichco)
        {
            MaChiTietBang = _Maloaibang;
            MaLoaiBang = _Makichco;
        }
         
    }
}
